home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!falstaff
- From: falstaff@xs4all.nl (Falstaff)
- Newsgroups: comp.lang.c
- Subject: Re: MACRO Exploder - SOURCE CODE
- Date: 24 Mar 1996 20:56:30 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4j4ctu$agq@news.xs4all.nl>
- References: <4j3vjl$272@ocean.CAM.ORG>
- NNTP-Posting-Host: xs1.xs4all.nl
- Keywords: C, MACRO, SOURCE CODE
- X-Newsreader: NN version 6.5.0 #666 (NOV)
-
- p_lamy@CAM.ORG (Philippe Lamy) writes:
-
- >Hi,
-
- >I'm looking for SOURCE CODE in C or C++ (on any platform) that would parse a C
- >file and explode MACROS the C source contains...
- ^^^^^^^
- I'm assuming you mean 'expand' here. Many programs (COBOL compilers,
- perhaps) may explode when fed C source :-)
-
- >Does anybody know where I can find this ?
-
- This program is called cpp and available everywhere (on UNIXes, at least).
- Alternatively, you can use cc -E which (again, on UNIX) does the same.
- On other systems, you may be lucky in that the -E switch may be implemented.
-
- Frank
- --
- The famous GIICM now on line: http://www.xs4all.nl/~falstaff/GIICM.html
- ------------------------------------------------------------------------
- Frank A. Vorstenbosch +31-(70)-355 5241 falstaff@xs4all.nl
-